package com.oba.king.controlmanage;

import java.util.Date;

import com.oba.base.service.BaseBo;
import com.oba.king.datalib.CompanyInfo;
import com.oba.king.datalib.Customer;
import com.oba.king.login.UserInfo;

public class ProxyContract extends BaseBo{

	private Long contractSequnceId;
	private String contractId;
	private String archiveNumber;
	private Customer customer;
	private String idCardNumber;
	private String vendeeDeputy;
	private String vendeeAccounts;
	private String vendeePhone;
	private String vendeeMail;
	private CompanyInfo companyInfo;
	private UserInfo userInfo;
	private Double deposit;
	private String depositUnits;
	private String remark;
	private Date startDate;
	private Date endDate;
	private Date inputDate;
	private String creater;
	private String auditingName;
	private Integer auditingStatus;
	private String givenArea;
	private String givenMarket;
	private String auditingAdvice;
	
	
	public Long getId() {
		// TODO Auto-generated method stub
		return contractSequnceId;
	}
	public String getName() {
		// TODO Auto-generated method stub
		return null;
	}
	public Long getContractSequnceId() {
		return contractSequnceId;
	}
	public void setContractSequnceId(Long contractSequnceId) {
		this.contractSequnceId = contractSequnceId;
	}
	public String getContractId() {
		return contractId;
	}
	public void setContractId(String contractId) {
		this.contractId = contractId;
	}
	public String getArchiveNumber() {
		return archiveNumber;
	}
	public void setArchiveNumber(String archiveNumber) {
		this.archiveNumber = archiveNumber;
	}
	public Customer getCustomer() {
		return customer;
	}
	public void setCustomer(Customer customer) {
		this.customer = customer;
	}
	public String getIdCardNumber() {
		return idCardNumber;
	}
	public void setIdCardNumber(String idCardNumber) {
		this.idCardNumber = idCardNumber;
	}
	public String getVendeeDeputy() {
		return vendeeDeputy;
	}
	public void setVendeeDeputy(String vendeeDeputy) {
		this.vendeeDeputy = vendeeDeputy;
	}
	public String getVendeeAccounts() {
		return vendeeAccounts;
	}
	public void setVendeeAccounts(String vendeeAccounts) {
		this.vendeeAccounts = vendeeAccounts;
	}
	public String getVendeePhone() {
		return vendeePhone;
	}
	public void setVendeePhone(String vendeePhone) {
		this.vendeePhone = vendeePhone;
	}
	public String getVendeeMail() {
		return vendeeMail;
	}
	public void setVendeeMail(String vendeeMail) {
		this.vendeeMail = vendeeMail;
	}
	public CompanyInfo getCompanyInfo() {
		return companyInfo;
	}
	public void setCompanyInfo(CompanyInfo companyInfo) {
		this.companyInfo = companyInfo;
	}
	public UserInfo getUserInfo() {
		return userInfo;
	}
	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}
	public Double getDeposit() {
		return deposit;
	}
	public void setDeposit(Double deposit) {
		this.deposit = deposit;
	}
	public String getDepositUnits() {
		return depositUnits;
	}
	public void setDepositUnits(String depositUnits) {
		this.depositUnits = depositUnits;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public Date getInputDate() {
		return inputDate;
	}
	public void setInputDate(Date inputDate) {
		this.inputDate = inputDate;
	}
	public String getCreater() {
		return creater;
	}
	public void setCreater(String creater) {
		this.creater = creater;
	}
	public String getAuditingName() {
		return auditingName;
	}
	public void setAuditingName(String auditingName) {
		this.auditingName = auditingName;
	}
	public Integer getAuditingStatus() {
		return auditingStatus;
	}
	public void setAuditingStatus(Integer auditingStatus) {
		this.auditingStatus = auditingStatus;
	}
	public String getAuditingStatusStr(){
		String  statusStr=null;
		String  statusColor="red";
		if(auditingStatus!=null&&!auditingStatus.equals("")){
			if(auditingStatus==1){
				statusStr ="新增未审核";
			}else if(auditingStatus==2){
				statusStr = "审核通过";
			}
			else if(auditingStatus==3){
				statusStr = "审核未通过";
			}
			else if(auditingStatus==4){
				statusStr = "修改未审核";
			}
			else if(auditingStatus==5){
				statusStr = "过期";
			}
		}
		return "<font color=\""+statusColor+"\">"+statusStr+"</font>";
	}
	public String getGivenArea() {
		return givenArea;
	}
	public void setGivenArea(String givenArea) {
		this.givenArea = givenArea;
	}
	public String getGivenMarket() {
		return givenMarket;
	}
	public void setGivenMarket(String givenMarket) {
		this.givenMarket = givenMarket;
	}
	public String getAuditingAdvice() {
		return auditingAdvice;
	}
	public void setAuditingAdvice(String auditingAdvice) {
		this.auditingAdvice = auditingAdvice;
	}
}
